package com.minimoment.model.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by etund on 2014/10/28.
 */
public class Area implements Serializable {
    public Area() {
    }

    private String id;
    private String Name;
    private String pinyin;
    private Set<School> schools = new HashSet<School>();
    private Set<Theater> theaters  = new HashSet<Theater>();
    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public Set<School> getSchools() {
        return schools;
    }

    public void setSchools(Set<School> schools) {
        this.schools = schools;
    }

    public Set<Theater> getTheaters() {
        return theaters;
    }

    public void setTheaters(Set<Theater> theaters) {
        this.theaters = theaters;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    @Override
    public String toString() {
        return "Area{" +
                "id='" + id + '\'' +
                ", Name='" + Name + '\'' +
                ", pinyin='" + pinyin + '\'' +
                ", schools=" + schools +
                ", theaters=" + theaters +
                '}';
    }
}
